<script setup>
// 密码框组件

defineProps({
  width: {
    type: String,
    required: true
  }
});

const input = defineModel();
</script>

<template>
  <el-input
      v-model="input"
      :style="{ 'width': width + 'px' }"
      placeholder=""
      type="password"
      show-password
  />
</template>

<style scoped>
.el-input {
  /* 输入框样式 */
  background-color: transparent;
  --el-input-border-color: #2a3441;
  --el-input-hover-border-color: #568fc1;
  --el-input-focus-border-color: #568fc1;
  --el-input-text-color: #2a3441;
  /* font-size: px; */
  /* height: px; */
}
</style>